package com.yaorange.nongjt.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.yaorange.common.annotation.Excel;
import com.yaorange.common.core.domain.BaseEntity;

/**
 * 打印机序列号对象 njt_serial
 * 
 * @author juheng
 * @date 2025-02-28
 */
public class NjtSerial extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 序列号 */
    @Excel(name = "序列号")
    private String serialCode;

    /** 打印机类型 */
    @Excel(name = "打印机类型")
    private String printerType;

    /** 使用状态 */
    @Excel(name = "使用状态")
    private Integer useFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSerialCode(String serialCode) 
    {
        this.serialCode = serialCode;
    }

    public String getSerialCode() 
    {
        return serialCode;
    }
    public void setPrinterType(String printerType) 
    {
        this.printerType = printerType;
    }

    public String getPrinterType() 
    {
        return printerType;
    }
    public void setUseFlag(Integer useFlag) 
    {
        this.useFlag = useFlag;
    }

    public Integer getUseFlag() 
    {
        return useFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("serialCode", getSerialCode())
            .append("printerType", getPrinterType())
            .append("useFlag", getUseFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
